<!doctype html>
<html class="x-admin-sm">
    <head>
        <meta charset="UTF-8">
        <title>鼎立机器人</title>
        <meta name="renderer" content="webkit|ie-comp|ie-stand">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <!--设置跳转页面-->
        <meta http-equiv="Refresh" content="{{time}};url={{url}}" />
        <link rel="stylesheet" href="/backend/css/font.css">
        <link rel="stylesheet" href="/backend/css/xadmin.css">
        <style>
            .error{
                color: red !important;
                margin-top: 5px !important;
                font-size: 16px !important;
            }
        </style>
    </head>
    <body>
          <div class="layui-container">
           <div class="fly-panel"> 
            <div class="fly-none"> 
             <h2><i class="layui-icon layui-icon-404"></i></h2>

                <h2><span id="leftTime">{{time}}</span>s后即将前往{{url}}页面或者 <a href="/admin/index">立即前往首页</a></h2>
                {{each errorRs}}
                <p class="error">{{$value}}</p>
                {{/each}}
            </div>
           </div>
          </div>
    <script>
      let lefttime=3;
      let timer=setInterval(function(){
          lefttime--;
          document.getElementById('leftTime').innerText=lefttime;
          if(lefttime==0){
              clearInterval(timer);
          }
      },1000)
    </script>
    </body>
</html>